package org.bite.book_controller.service;

import org.bite.book_controller.Mapper.UserMapper;
import org.bite.book_controller.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;
    public UserInfo queryUserByName(String userName){
        return userMapper.queryUser(userName);
    }
}
